-
-
Notifications
You must be signed in to change notification settings - Fork 485
Update db.migrations.operations
#2349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
class OperationCategory(str, Enum): | ||
ADDITION = "+" | ||
REMOVAL = "-" | ||
ALTERATION = "~" | ||
PYTHON = "p" | ||
SQL = "s" | ||
MIXED = "?" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having the actual values seems to be recommended.
reversible: ClassVar[bool] | ||
reduces_to_sql: ClassVar[bool] | ||
atomic: ClassVar[bool] | ||
elidable: ClassVar[bool] | ||
serialization_expand_args: ClassVar[list[str]] | ||
category: ClassVar[OperationCategory | None] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe they are all class vars?
The stubtest error is annoying.. Looks like mixing |
efc10cb
to
79183d1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, just one question
6352413
to
e6cf216
Compare
I have made things!
Related issues